package org.gry.dy20180711;

import java.util.Scanner;

public class TestScanner {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		System.out.println("请输入你的名字");
		String name = scanner.nextLine();
		System.out.println("请输入你的爱好");
		String favor = scanner.nextLine();
		System.out.println("请输入你的年龄");
		int age =  scanner.nextInt();
		
		System.out.println("-------------------");
		System.out.println("你好"+name+"同学，你的兴趣是"+favor+",你已经来到地球"+age*365+"距离离开地球还有"+(72-age)*365+"天");
		
		
		
	}
}
